package com.sskj.api.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(defaultValue = "后台登录请求参数")
public class AdminLoginReq {

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "密码")
    private String password;

    @NotNull(message = "请指定登录类型")
    @Schema(description = "登录类型[1:账号密码]")
    private Integer type;
}
